﻿/*
 * Created by SharpDevelop.
 * User: Administrator
 * Date: 3/6/2011
 * Time: 11:21 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Text;
using System.Web.Script.Serialization;
using HtmlAgilityPack;
using FileSystemDatabase;
using Newtonsoft.Json.Linq;
using TomatoSynchronizer.Entities;
using Newtonsoft.Json;
using System.IO;

namespace TomatoSynchronizer.Store
{
	/// <summary>
	/// Description of ProductImageStore.
	/// </summary>
	public class ProductImageStore : IStore<ProductImage>
	{
		public ProductImageStore()
		{
		}
		
		private JsonDatabase db;
		
		private Site _site;
		public Site site {
			get { return _site; }
			set { _site = value; }
		}
		
		private HtmlWeb _client;
		
		public ProductImageStore(Site site, HtmlWeb client)
		{
			db = new JsonDatabase("sites/" + site.Name + "/Categories");
			_site = site;
			_client = client;
		}
		
		public void PersistItems(System.Collections.Generic.List<ProductImage> items)
		{
			throw new NotImplementedException();
		}
		
		public void Truncate()
		{
			throw new NotImplementedException();
		}
		
		public void PersistItem(ProductImage item)
		{
			throw new NotImplementedException();
		}
		
		public bool MoveItem(string itemId, string folderId)
		{
			throw new NotImplementedException();
		}
		
		public bool DeleteItem(string itemId)
		{
			throw new NotImplementedException();
		}
		
		public ProductImage[] LoadItems()
		{
			throw new NotImplementedException();
		}
		
		public ProductImage LoadItem(string itemId)
		{
			throw new NotImplementedException();
		}
		
		public bool Contains(ProductImage item)
		{
			throw new NotImplementedException();
		}
		
		public List<ProductImage> GetItems()
		{
			throw new NotImplementedException();
		}

		public ProductImage GetItem(string itemId)
		{
			throw new NotImplementedException();
		}
		
		public bool UpdateItem(ProductImage item)
		{
			throw new NotImplementedException();
		}
		
		public string InsertItem(ProductImage item)
		{
			throw new NotImplementedException();
		}
	}
}
